package com.das.mechanic_base.mvp.contract.create;

import android.content.Context;

import com.das.mechanic_base.base.X3IBaseView;
import com.das.mechanic_base.bean.alone.AloneImageAndRecordBean;
import com.das.mechanic_base.bean.alone.AloneNewBean;
import com.das.mechanic_base.bean.alone.TestRecommendBean;
import com.das.mechanic_base.bean.common.AwsFileBean;
import com.das.mechanic_base.bean.greendao.AloneServiceListBean;
import com.das.mechanic_base.bean.main.DetectionNewBean;

import java.io.File;
import java.util.List;

/**
 * Created by chenSi on 2018/3/13.
 */

public interface X3AloneSignContract {


    interface View extends X3IBaseView {
        void upLoadSuccess(long picId);
        void upLoadFail();
        Context getContext();
        void upUpdateSuccess( );
        void upUpdateFail(String picId);
    }

    interface Presenter {

        /**
         * 上传图片
         * @param imgFile
         */
        void uploadImageAws(File imgFile);
        /**
         * 保存初检签字
         * @param mList
         */
        void saveDetectionFirstInfo(List<DetectionNewBean> mList, long receiveBaseId);
    }
}
